﻿using In66.Net.Consul.Extensions;

namespace SwaggerDoc.Api
{
    public static class HostBuilderExtensions
    {
        /// <summary>
        /// register to (consul/nacos/clusterip...)
        /// </summary>
        public static IHost UseRegistrationCenter(this IHost host)
        {
            
            host.RegisterToConsul();

            return host;
        }
    }
}
